@charset "utf-8";

//页面布局
.prod_rls {
    font-size: 14px;
    color: #444f58;
    padding: 46px 0 56px;
    
    //页面标题
    .caption {
        font-size: 20px;
        font-weight: normal;
        margin-bottom: 36px;
    }
    
    //表单容器
    .rls_form {
        width: 721px;
        margin: 0 auto;
        
        form {
            width: 100%;
            
            //表单标签
            .form_label {
                width: 120px;
                text-align: right;
                height: 40px;
                line-height: 40px;
                
                &~.form_label {
                    margin-top: 20px;
                }
            }
            
            //必填提示*
            .rus:before {
                content: "*";
                color: #e60012;
            }
            
            //表单内容
            .form_cont {
                width: 584px;
                line-height: 40px;
                
                &~.form_cont {
                    margin-top: 20px;
                }
                
                a {
                    color: #3388ff;
                    
                    &:hover {
                        color: #eb413d;
                    }
                }
                
                //输入提示语
                .input_tip {
                    width: 200px;
                    color: #878787;
                    margin-left: 10px;
                }
                
                //只读输入框
                .nostyle_input {
                    background-color: transparent;
                    border: none;
                    font-size: 14px;
                    color: #444f58;
                    height: 40px;
                    line-height: 40px;
                    box-sizing: border-box;
                }
                
                //商品售价与分成内容
                .earnings_box {
                    border: 1px solid #e7e7e7;
                    box-sizing: border-box;
                    padding: 19px 27px;
                    margin-top: 3px;
                    
                    p {
                        color: #eb413d;
                        margin-top: 8px;
                        line-height: 32px;
                    }
                }
                
                //提交表单按钮
                input[type="submit"] {
                    
                    &:hover {
                        opacity: .8;
                    }
                    
                    &:active {
                        opacity: .9;
                    }
                }
            }
            
            //单行显示的表单
            .cont_inline {
                height: 40px;
            }
            
            //协议选项
            .agree_box {
                line-height: normal;
                position: relative;
                .xieyi:hover,.xieyi:active{
                    cursor: pointer;
                }
                //复选框下移至底层让伪复选框遮挡
                input[type=checkbox] {
                    position: absolute;
                    left: 1px;
                    bottom: 2px;
                    z-index: -1;
                    
                    //勾选伪复选框同步更新样式
                    &:checked {
                        &+label {
                            &:after {
                                display: block;
                            }
                        }
                    }
                }
                
                //伪复选框
                label {
                    display: inline-block;
                    width: 15px;
                    height: 15px;
                    border: 1px solid #9d9d9d;
                    background-color: #f8f8f8;
                    border-radius: 2px;
                    box-sizing: border-box;
                    transform: translateY(15%);
                    position: relative;
                    margin-right: 7px;
                    
                    //勾选
                    &:after {
                        content: "\2714";
                        display: none;
                        position: absolute;
                        top: -3px;
                        left: 1px;
                        color: #eb413d;
                    }
                }
            }
        }
    }

}
.content_deal{
    position: fixed;
    display: none;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,.5);
    .deal_box{
        position: absolute;
        top: 0px;
        left: 0px;
        bottom: 0px;
        right: 0px;
        margin: auto;
        width: 450px;
        height: 450px;
        padding: 20px;
        background: #FFFFF1;
        border-radius: 5px;
        .text{
            width: 450px;
            height: 400px;
        }
        .btn{
            display: block;
            width: 300px;
            height: 40px;
            padding-top: 10px;
            padding-left: 150px;
            >a{
                display: block;
                width: 150px;
                height: 30px;
                border-radius: 3px;
                background: #eb413d;
                line-height: 30px;
                text-align: center;
                color: #ffffff;
                &:hover{
                    opacity: .2;
                }
                &:active{
                    opacity: .2;
                }
            }
        }
    }
    &.active{
        display: block;
    }
}
.tixian_mask {
    background: rgba(0, 0, 0, .6);
    position: fixed;
    width:100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    display: none
;
    #title {
        position:absolute;
        left:0;
        top: 0;
        right: 0;
        background: #f8f8f8;
        text-align: left;
        margin: 0;
        font-weight: normal;
        padding: 5px 0 5px 20px;
        font-size: 16px;
        height: 36px;
        line-height: 36px;
        border-radius: 5px;
    }
    #xieyichacha {
        position: absolute;
        right: 16px;
        top: 16px;
        color: #878787;
        cursor: pointer;
        &:hover {
            width: 30px;
            height: 30px;
            background: #e7e7e7;
            border-radius: 50%;
            line-height: 30px;
            margin-top: -5px;
            transform: translateX(30%);
            color: #EB413D;
            cursor: pointer;
        }
    }
    .o5_mask {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 750px;
        display: block;
        height: 80%;
        background: white;
        text-align: center;
        border-radius: 5px;
        overflow: hidden;
        .left {
            position: absolute;
            top: 56px;
            left: 10px;
            right: 10px;
            bottom: 80px;
            overflow: hidden;
            overflow-y: scroll;
        }
        .left p {
            text-align: left;
            margin-bottom: 10px;
            margin-right: 10px;
            font-size: 14px;
            text-indent: 2em;
        }
        button {
            position: absolute;
            left: 50%;
            bottom: 20px;
            -webkit-transform: translateX(-50%);
            -moz-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
            -o-transform: translateX(-50%);
            transform: translateX(-50%);
            font-size: 13px;
            width: 120px;
            margin-top: 10px;
        }
        button:hover {
            background: yellow;
            color: #444F58;
        }
    }
}